package com.iot.user.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.iot.commonutils.utils.Result;
import com.iot.user.dtos.UserDto;
import com.iot.user.entity.User;
import org.springframework.stereotype.Service;

@Service
public interface UserLoginService extends IService<User> {
    /**
     * 登录功能
     * @param dto
     * @return
     */
    Result login(UserDto dto);
}